package com.springboot_rest.dao;


import com.springboot_rest.entity.User;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author MagicMushroom
 * @date 2021/6/29
 */
public interface UserDAO {
    List<User> findAll();

    void InsertOne(User user);

    User findOne(Integer id);

    void update(User user);

    void deleteOne(Integer id);
}
